﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Asset/EassetMaster.master" AutoEventWireup="true"
    CodeBehind="FixedAssetsForm.aspx.cs" Inherits="Eassets.UI.Asset.FixedAssetsForm" %>
    <%@ Register Src="~/Components/FlashMessage.ascx" TagName="FlashMessage" TagPrefix="osm" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Fixed Assets"></asp:Label>
        <br />
        <br />
         <osm:FlashMessage ID="FlashMessage1" runat="server" />
    </div>
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelMainCategory" runat="server" Text="Main Category" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListMainCategory" runat="server" CssClass="select"
                        AutoPostBack="true" OnSelectedIndexChanged="dropDownListMainCategory_SelectedIndexChanged" AppendDataBoundItems="true">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                        
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelSubCategory" runat="server" Text="Sub Category" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListSubCategory" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListSubCategory_SelectedIndexChanged">
                        <asp:ListItem Value="0" Text="-Select-"></asp:ListItem>
                       
                    </asp:DropDownList>
                    <%-- <asp:Button ID="ButtonSubCategory" runat="server" Text="..." CssClass="button_browse" />--%>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewFixedAssets" runat="server" Caption="Fixed Assets" CssClass="ColStyle"
                        EmptyDataText="No data to display" AllowPaging="True" PageSize="10" AutoGenerateColumns="false" OnSelectedIndexChanged="gridViewFixedAssets_SelectedIndexChanged">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ItemStyle-Width="20" ShowSelectButton="True" ButtonType="Image"
                                SelectImageUrl="~/styles/images/Select_icon_button.gif" />
                                 <asp:BoundField HeaderText="" DataField="AssetId" ItemStyle-Width="20" />
                            <asp:BoundField HeaderText="Asset Code" DataField="Code" ItemStyle-Width="190" />
                            <asp:BoundField HeaderText="Description" DataField="Description" />
                            <asp:BoundField HeaderText="" DataField="MoreDetails" />
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
            <li>
                <br />
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formlable">
                    <asp:Label ID="labelAssetCode" runat="server" Text="Asset Code" CssClass="legendlabel_size2"></asp:Label>
                    <asp:TextBox ID="TextBoxAssetCode" runat="server" CssClass="textbox_customsize" Width="100px"
                        MaxLength="8"></asp:TextBox>
                    <font color="#FF0000">*</font>
                </div>
            </li>
            <li>
                <div class="formfield">
                    <asp:Label ID="labelDiscription" runat="server" Text="Description" CssClass="legendlabel_size2"></asp:Label>
                    <asp:TextBox ID="textBoxDiscription" runat="server" CssClass="textbox_customsize"
                        Width="300px"></asp:TextBox>
                    <font color="#FF0000">*</font>
                </div>
            </li>
            <li>
                <div class="formfield">
                    <asp:Label ID="labelMoreDetails" runat="server" Text="More Details" CssClass="legendlabel_size2"></asp:Label>
                    <asp:TextBox ID="textBoxMoreDetails" runat="server" CssClass="textarea" Width="300px"
                        Rows="2" Wrap="true" TextMode="MultiLine" MaxLength="200"></asp:TextBox>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <table>
                        <tr>
                            <td class="style4">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="buttonAdd" runat="server" Text="Add" CssClass="buttonstyle" OnClick="ButtonAdd_Click" />
                                <asp:Button ID="buttonModify" runat="server" Text="Modify" CssClass="buttonstyle"
                                    OnClick="ButtonModify_Click" />
                                <asp:Button ID="buttonDelete" runat="server" Text="Delete" CssClass="buttonstyle"
                                    OnClick="ButtonDelete_Click" />
                            </td>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="buttonSave" runat="server" Text="Save" CssClass="buttonstyle" OnClick="ButtonSave_Click" />
                                <asp:Button ID="buttonClear" runat="server" Text="Cancel" CssClass="buttonstyle"
                                    OnClick="ButtonClear_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
</asp:Content>
